﻿using AutoMapper;
using J.Status.Application.Command.LodgingCommand;
using J.Status.Application.Command.RoomNumCommand;
using J.StatusModel;
using J.StatusModel.Dto;

namespace J.Status.AutoMapper
{
    public class RoomNumProfile: Profile
    {
        public RoomNumProfile()
        {
            CreateMap<LodgingSelectCommand, LodgingFindDto>().ReverseMap();
            CreateMap<RoomNumSelectCommand, RoomStateDto>().ReverseMap();
            CreateMap<RoomNumSelect2Command, RoomStatusDto>().ReverseMap();
            CreateMap<RoomNumCreateCommand, RoomNumManage>().ReverseMap();
            CreateMap<RoomNumUpdateCommand, RoomNumManage>().ReverseMap();
        }
    }
}
